/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */
package com.seari.service;

import com.seari.bean.Product;
import com.seari.bean.RlProductHost;

import java.util.List;
import java.util.Map;

/**
 *
 * @author whl
 */
public interface ProductService
{
    public List<Product> getProductByFMcId(Product product);
    public List<Product> getProductById(Product product);
    public int addProductBatch(List<Product> productList);
    public int updateProductById(Product product);
    public int deleteProductById(Product product);

    public int addRlProductHost(RlProductHost rlProductHost);
    public int deleteRlProductHost(RlProductHost rlProductHost);
    public int updateRlProductHost(RlProductHost rlProductHost);
    public List<RlProductHost> getRlProductHost(RlProductHost rlProductHost);
    public List<Map<String,String>> showAllZabbixHosts(Map<String, String> map);
}
